#include "stdio.h"
#include "assert.h"

size_t My_Strlen(const char* arr)
{
	assert(arr != NULL);
	size_t i = 0;
	while (*arr != '\0')
	{
		arr++;
		i++;
	}
	return i;
}

int main()
{
	//char a[] = "hellow";
	//int c[] = { 5,7,2,9,0,1 };
	//int h = 0x9531975;
	//int y = 1;
	//char* t = (char*)&y;
	//int b = 0;
	//b=My_Strlen(a);
	//int* p = 0;
	//int x = sizeof(p);
	//char a = 128;
	//printf("%d\n", a);
	//printf("%u\n", a);
	//const char* p = "hellow!";
	//printf("%s \n", p);
	//int a[] = { 1,2,3,4 };
	//printf("%d\n", sizeof(a));
	//printf("%d\n", sizeof(a + 0));
	//printf("%d\n", sizeof(*a));
	//printf("%d\n", sizeof(a + 1));
	int arr[10] = { 1,2,3,4,4,6,7,8 };
	int* p1 = arr;
	int* p2 = &arr[5];
	int p = p2 - p1;
	return 0;
}